.class public Lcom/xingbook/group/adapter/h;
.super Landroid/widget/BaseAdapter;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ljava/util/ArrayList;

.field private c:Ljava/util/ArrayList;

.field private d:Landroid/graphics/drawable/Drawable;

.field private e:Landroid/graphics/drawable/Drawable;

.field private f:Landroid/graphics/Bitmap;

.field private g:Landroid/graphics/Bitmap;

.field private h:Landroid/graphics/Bitmap;

.field private i:Landroid/graphics/Bitmap;

.field private j:Landroid/graphics/Bitmap;

.field private k:Landroid/graphics/Bitmap;

.field private l:F

.field private m:F

.field private n:I

.field private o:I

.field private p:I

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/view/View;

.field private t:Landroid/widget/ProgressBar;

.field private u:Lcom/xingbook/group/adapter/i;

.field private v:F


# direct methods
.method public constructor <init>(Landroid/app/Activity;Lcom/xingbook/group/adapter/i;)V
    .locals 8

    const/high16 v7, 0x41f0

    const/4 v6, -0x2

    const/4 v5, 0x0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/group/adapter/h;->u:Lcom/xingbook/group/adapter/i;

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f02016a

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, v0, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/h;->d:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->d:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v5, v5, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    const v1, 0x7f02014e

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, v0, v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

    iput-object v2, p0, Lcom/xingbook/group/adapter/h;->e:Landroid/graphics/drawable/Drawable;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->e:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    invoke-virtual {v2, v5, v5, v3, v1}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    const v1, 0x7f02014d

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->f:Landroid/graphics/Bitmap;

    const v1, 0x7f020144

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->g:Landroid/graphics/Bitmap;

    const v1, 0x7f020142

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->h:Landroid/graphics/Bitmap;

    const v1, 0x7f020143

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->i:Landroid/graphics/Bitmap;

    const v1, 0x7f020146

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->j:Landroid/graphics/Bitmap;

    const v1, 0x7f020140

    invoke-static {v0, v1}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->k:Landroid/graphics/Bitmap;

    invoke-static {p1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    iput v0, p0, Lcom/xingbook/group/adapter/h;->v:F

    const/high16 v0, 0x4208

    iget v1, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v1

    iput v0, p0, Lcom/xingbook/group/adapter/h;->l:F

    iget v0, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v7

    iput v0, p0, Lcom/xingbook/group/adapter/h;->m:F

    const/high16 v0, 0x4150

    iget v1, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/group/adapter/h;->n:I

    const/high16 v0, 0x41b0

    iget v1, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/group/adapter/h;->o:I

    const/high16 v0, 0x40e0

    iget v1, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iput v0, p0, Lcom/xingbook/group/adapter/h;->p:I

    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    iget v1, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v2, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v3, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v4, p0, Lcom/xingbook/group/adapter/h;->n:I

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    const/16 v1, 0x11

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v0, Landroid/widget/AbsListView$LayoutParams;

    const/4 v1, -0x1

    invoke-direct {v0, v1, v6}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v0, v6, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    new-instance v1, Landroid/view/View;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/group/adapter/h;->s:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->s:Landroid/view/View;

    const v2, 0x7f020150

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundResource(I)V

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->s:Landroid/view/View;

    invoke-virtual {v1, v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v5}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Landroid/widget/ProgressBar;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/ProgressBar;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f02023d

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setIndeterminateDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    const/4 v2, 0x4

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    const/high16 v0, 0x4234

    iget v2, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v0, v2

    float-to-int v0, v0

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v0, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    invoke-direct {v0, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    const v2, -0x555556

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v2, v7

    invoke-virtual {v0, v5, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    const-string v2, "\u52a0\u8f7d\u66f4\u591a"

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    const-string v1, "\u52a0\u8f7d\u4e2d\u00b7\u00b7\u00b7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public a(Ljava/util/ArrayList;Ljava/util/ArrayList;)V
    .locals 1

    invoke-virtual {p1}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->clone()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/xingbook/group/adapter/h;->notifyDataSetChanged()V

    return-void
.end method

.method public a(ZLjava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->t:Landroid/widget/ProgressBar;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    if-nez p2, :cond_0

    const-string p2, "\u52a0\u8f7d\u66f4\u591a"

    :cond_0
    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->r:Landroid/widget/TextView;

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public getCount()I
    .locals 3

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :goto_0
    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    if-eqz v2, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    :cond_0
    add-int/2addr v0, v1

    add-int/lit8 v0, v0, 0x1

    return v0

    :cond_1
    move v0, v1

    goto :goto_0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 3

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :goto_0
    iget-object v2, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    if-eqz v2, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    :cond_0
    if-ge p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    :goto_1
    return-object v0

    :cond_1
    sub-int v2, p1, v0

    if-ge v2, v1, :cond_2

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    sub-int v0, p1, v0

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    goto :goto_1

    :cond_2
    const/4 v0, 0x0

    goto :goto_1

    :cond_3
    move v0, v1

    goto :goto_0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 12

    const v11, -0x666667

    const/high16 v10, 0x4120

    const/4 v9, 0x0

    const/16 v4, 0x8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    if-eqz v0, :cond_e

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    :goto_1
    if-ge p1, v1, :cond_4

    if-eqz p2, :cond_2

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/xingbook/group/adapter/k;

    if-eqz v0, :cond_2

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/k;

    move-object v1, v0

    :goto_2
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->b:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/p;

    iget-object v3, v1, Lcom/xingbook/group/adapter/k;->a:Landroid/view/View;

    if-nez p1, :cond_3

    :goto_3
    invoke-virtual {v3, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v2, v1, Lcom/xingbook/group/adapter/k;->c:Landroid/view/View;

    if-nez p1, :cond_0

    const/4 v4, 0x4

    :cond_0
    invoke-virtual {v2, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, v1, Lcom/xingbook/group/adapter/k;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/group/a/p;->u()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    :goto_4
    return-object p2

    :cond_2
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    const v1, 0x7f03001b

    invoke-static {v0, v1, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v3, Lcom/xingbook/group/adapter/k;

    invoke-direct {v3, p0}, Lcom/xingbook/group/adapter/k;-><init>(Lcom/xingbook/group/adapter/h;)V

    const v0, 0x7f0a00ea

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f0a00e8

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v3, Lcom/xingbook/group/adapter/k;->c:Landroid/view/View;

    const v1, 0x7f0a00eb

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v3, Lcom/xingbook/group/adapter/k;->b:Landroid/widget/TextView;

    const v1, 0x7f0a00e9

    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v3, Lcom/xingbook/group/adapter/k;->a:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/group/adapter/h;->f:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget v1, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v5, p0, Lcom/xingbook/group/adapter/h;->o:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->p:I

    iget v7, p0, Lcom/xingbook/group/adapter/h;->o:I

    invoke-virtual {v0, v1, v5, v6, v7}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/k;->b:Landroid/widget/TextView;

    iget v1, p0, Lcom/xingbook/group/adapter/h;->l:F

    invoke-virtual {v0, v2, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/k;->b:Landroid/widget/TextView;

    iget v1, p0, Lcom/xingbook/group/adapter/h;->o:I

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->o:I

    invoke-virtual {v0, v2, v1, v5, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/k;->b:Landroid/widget/TextView;

    const v1, -0x99999a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/k;->a:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v1, p0, Lcom/xingbook/group/adapter/h;->n:I

    invoke-virtual {v0, v2, v1, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {p2, v3}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    move-object v1, v3

    goto/16 :goto_2

    :cond_3
    move v2, v4

    goto/16 :goto_3

    :cond_4
    sub-int v3, p1, v1

    if-ge v3, v0, :cond_c

    if-eqz p2, :cond_5

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/xingbook/group/adapter/j;

    if-eqz v0, :cond_5

    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/j;

    move-object v3, v0

    :goto_5
    if-nez p1, :cond_6

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->j:Landroid/view/View;

    const/4 v5, 0x4

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    :goto_6
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->c:Ljava/util/ArrayList;

    sub-int v1, p1, v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/p;

    iget-object v5, v3, Lcom/xingbook/group/adapter/j;->a:Landroid/widget/ImageView;

    iget-boolean v1, v0, Lcom/xingbook/group/a/p;->g:Z

    if-eqz v1, :cond_7

    move v1, v2

    :goto_7
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v5, v3, Lcom/xingbook/group/adapter/j;->c:Landroid/widget/ImageView;

    iget-boolean v1, v0, Lcom/xingbook/group/a/p;->f:Z

    if-eqz v1, :cond_8

    move v1, v2

    :goto_8
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v5, v3, Lcom/xingbook/group/adapter/j;->b:Landroid/widget/ImageView;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    iget-wide v8, v0, Lcom/xingbook/group/a/p;->c:J

    sub-long/2addr v6, v8

    invoke-static {v6, v7}, Ljava/lang/Math;->abs(J)J

    move-result-wide v6

    const-wide/32 v8, 0x36ee80

    cmp-long v1, v6, v8

    if-gez v1, :cond_9

    move v1, v2

    :goto_9
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v5, v3, Lcom/xingbook/group/adapter/j;->d:Landroid/widget/ImageView;

    iget-boolean v1, v0, Lcom/xingbook/group/a/p;->i:Z

    if-eqz v1, :cond_a

    move v1, v2

    :goto_a
    invoke-virtual {v5, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v1, v3, Lcom/xingbook/group/adapter/j;->e:Landroid/widget/ImageView;

    iget-boolean v5, v0, Lcom/xingbook/group/a/p;->h:Z

    if-eqz v5, :cond_b

    :goto_b
    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v1, v3, Lcom/xingbook/group/adapter/j;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/group/a/p;->u()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/xingbook/group/a/p;->b:Lcom/xingbook/group/a/d;

    invoke-virtual {v2}, Lcom/xingbook/group/a/d;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/xingbook/group/adapter/j;->i:Landroid/widget/TextView;

    iget-wide v4, v0, Lcom/xingbook/group/a/p;->e:J

    invoke-static {v4, v5}, Lcn/a/a/d/j;->b(J)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    invoke-virtual {v0}, Lcom/xingbook/group/a/p;->g()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    :cond_5
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->a:Landroid/content/Context;

    const v3, 0x7f03001a

    invoke-static {v0, v3, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v3, Lcom/xingbook/group/adapter/j;

    invoke-direct {v3, p0}, Lcom/xingbook/group/adapter/j;-><init>(Lcom/xingbook/group/adapter/h;)V

    const v0, 0x7f0a00dd

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    invoke-virtual {v0, v2, v5, v2, v2}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    const v0, 0x7f0a00dc

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->j:Landroid/view/View;

    const v0, 0x7f0a00e0

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->c:Landroid/widget/ImageView;

    const v0, 0x7f0a00df

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->a:Landroid/widget/ImageView;

    const v0, 0x7f0a00e1

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->b:Landroid/widget/ImageView;

    const v0, 0x7f0a00e2

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->d:Landroid/widget/ImageView;

    const v0, 0x7f0a00e3

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->e:Landroid/widget/ImageView;

    const v0, 0x7f0a00e4

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->f:Landroid/widget/TextView;

    const v0, 0x7f0a00e6

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    const v0, 0x7f0a00e7

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->i:Landroid/widget/TextView;

    const v0, 0x7f0a00e5

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    const v0, 0x7f0a00de

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->p:I

    sub-int/2addr v5, v6

    iget v6, p0, Lcom/xingbook/group/adapter/h;->o:I

    iget v7, p0, Lcom/xingbook/group/adapter/h;->n:I

    invoke-virtual {v0, v5, v6, v7, v2}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->a:Landroid/widget/ImageView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->a:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->i:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->c:Landroid/widget/ImageView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->c:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->h:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->b:Landroid/widget/ImageView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->b:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->g:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->d:Landroid/widget/ImageView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->d:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->j:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->e:Landroid/widget/ImageView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->e:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->k:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->f:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->p:I

    invoke-virtual {v0, v5, v2, v2, v2}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->f:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->l:F

    invoke-virtual {v0, v2, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->f:Landroid/widget/TextView;

    const v5, -0x99999a

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->m:F

    invoke-virtual {v0, v2, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v6, v10

    float-to-int v6, v6

    iget v7, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v8, p0, Lcom/xingbook/group/adapter/h;->o:I

    invoke-virtual {v0, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    const/high16 v5, 0x40e0

    iget v6, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->e:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v5, v9, v9, v9}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v11}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    iget-object v5, p0, Lcom/xingbook/group/adapter/h;->d:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v5, v9, v9, v9}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    const/high16 v5, 0x40e0

    iget v6, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setCompoundDrawablePadding(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->m:F

    invoke-virtual {v0, v2, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v6, v10

    float-to-int v6, v6

    iget v7, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v8, p0, Lcom/xingbook/group/adapter/h;->o:I

    invoke-virtual {v0, v5, v6, v7, v8}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->h:Landroid/widget/TextView;

    invoke-virtual {v0, v11}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->i:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->m:F

    invoke-virtual {v0, v2, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->i:Landroid/widget/TextView;

    invoke-virtual {v0, v11}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->i:Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/adapter/h;->n:I

    iget v6, p0, Lcom/xingbook/group/adapter/h;->v:F

    mul-float/2addr v6, v10

    float-to-int v6, v6

    iget v7, p0, Lcom/xingbook/group/adapter/h;->o:I

    invoke-virtual {v0, v5, v6, v2, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    invoke-virtual {p2, v3}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto/16 :goto_5

    :cond_6
    iget-object v0, v3, Lcom/xingbook/group/adapter/j;->j:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_6

    :cond_7
    move v1, v4

    goto/16 :goto_7

    :cond_8
    move v1, v4

    goto/16 :goto_8

    :cond_9
    move v1, v4

    goto/16 :goto_9

    :cond_a
    move v1, v4

    goto/16 :goto_a

    :cond_b
    move v2, v4

    goto/16 :goto_b

    :cond_c
    invoke-virtual {p0}, Lcom/xingbook/group/adapter/h;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-ne p1, v0, :cond_1

    if-nez p1, :cond_d

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->s:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_c
    iget-object p2, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    goto/16 :goto_4

    :cond_d
    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->s:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto :goto_c

    :cond_e
    move v0, v2

    goto/16 :goto_1

    :cond_f
    move v1, v2

    goto/16 :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->q:Landroid/widget/LinearLayout;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->u:Lcom/xingbook/group/adapter/i;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/adapter/h;->u:Lcom/xingbook/group/adapter/i;

    invoke-interface {v0}, Lcom/xingbook/group/adapter/i;->a()V

    :cond_0
    return-void
.end method
